package com.gyh.stlserver.mapper;

import com.gyh.stlserver.entity.Reserve;

import java.util.Date;
import java.util.List;

public interface ReserveMapper {
    List<Reserve> selectReserveByMid(Integer mid);

    List<Integer> selectMidByCid(Integer coachId);

    Reserve selectReserveByCidAndStatus(Integer cid);
    List<Reserve> select(Reserve reserve);

    Reserve selectReserveByMidAndCid(Reserve reserve);

    int insert(Reserve reserve);

    int update(Reserve reserve);

    List<Reserve> selectReservesStatus(Integer status);

}
